package com.kingint.mbg.ser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 群发消息用户回复中间表
 * </p>
 *
 * @author wxh
 * @since 2020-12-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SerMessageReplyMiddle对象", description="群发消息用户回复中间表")
public class SerMessageReplyMiddle implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "群发通知对应id")
    @TableField("send_message_id")
    private Integer sendMessageId;

    @ApiModelProperty(value = "接收人id")
    @TableField("receive_user_id")
    private Long receiveUserId;

    @ApiModelProperty(value = "回复状态（0，未回复，1已回复）")
    @TableField("reply")
    private Integer reply;

    @ApiModelProperty(value = "是否已读（0，未读，1，已读）")
    @TableField("is_read")
    private Integer isRead;

    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("用户名称")
    @TableField(exist = false)
    private String username;

    @ApiModelProperty("头像")
    @TableField(exist = false)
    private String icon;


}
